package com.sanji.sjmallmodule.account;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.sanji.sjmallapp.BaseActivity;
import com.sanji.sjmallapp.R;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 重新设置支付密码
 */
public class ChangePayPwNextActivity extends BaseActivity implements View.OnClickListener {

    @BindView(R.id.common_back_img)
    ImageView commonBackImg;
    @BindView(R.id.common_left_tv)
    TextView commonLeftTv;
    @BindView(R.id.reset_pay_pw_btn)
    Button resetPayPwBtn;
    @BindView(R.id.reset_pay_pw)
    EditText resetPayPwEdt;
    @BindView(R.id.repeate_reset_pay_pw)
    EditText repeateResetPayPwEdt;
    private String newPayPw;
    private String repeatePayPw;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_change_pay_pw_next);
        ButterKnife.bind(this);
        initView();
    }

    public void initView() {
        commonLeftTv.setText(getString(R.string.pass_word));
        commonBackImg.setOnClickListener(this);
        resetPayPwBtn.setOnClickListener(this);
    }


    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.common_back_img:
                finish();
                break;
            case R.id.reset_pay_pw_btn:
                requestData();
                break;

        }
    }

    /**
     * 网络请求
     */
    public void requestData() {

    }
}
